package iut.LocateWind.fr;

public class Wind {
	private int id,categorie,force;
	private float longitude,latitude;
	private String date,source,direction;
	
	public Wind(){}

	public int getId(){return id;}
	public int getCategorie(){return categorie;}
	public int getForce(){return force;}
	public float getLongitude(){return longitude;}
	public float getLatitude(){return latitude;}
	public String getDate(){return date;}
	public String getSource(){return source;}
	public String getDirection(){return direction;}
	
	public void setId(int id){this.id = id;}
	public void setCategorie(int categorie){this.categorie = categorie;}
	public void setForce(int force){this.force = force;}
	public void setLongitude(float longitude){this.longitude = longitude;}
	public void setLatitude(float latitude){this.latitude = latitude;}
	public void setDate(String date){this.date = date;}
	public void setSource(String source){this.source = source;}
	public void setDirection(String direction){this.direction = direction;}
	
	public String toString(){
		return new StringBuffer("Id : ").append(id).append(", ")
					.append("Source : ").append(source).append(", ")
					.append("Force : ").append(force).append(", ")
					.append("Coordonees : [").append(longitude).append(",").append(latitude).append("]")
					.append("Direction : ").append(direction)
					.toString();
	}
}
